package com.ruoyi.system.service;

import com.ruoyi.system.domain.Prescription;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 处方管理Service接口
 *
 * @author yangxp
 * @date 2020-07-31
 */
public interface IPrescriptionService extends IService<Prescription> {

	/**
	 * 保存药方以及相关表
	 * @param prescription
	 * @return
	 */
	boolean savePrescription(Prescription prescription);

	/**
	 * 修改处方
	 * @param prescription
	 * @return
	 */
	boolean updatePrescription(Prescription prescription);

	/**
	 * 批量删除药方
	 * @param ids
	 * @return
	 */
	boolean removePrescription(Long[] ids);

}
